<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <title>工作汇总</title>
    <script src="__PUBLIC__/Home/SaleManager/js/zepto.min.js"></script>
    <link href="__PUBLIC__/Home/SaleManager/css/stylesheets/weui.min.css" rel="stylesheet">
    <link rel="stylesheet" href="__PUBLIC__/Home/SaleManager/css/stylesheets/index.css">
</head>
<body>
<div class="workSummary">
    <header class = "all_header">
        <a class = "h_back h_back_1"  style='flex: 1;' data-role-id='{$myself.role_id}' href="javascript:void(0);"><img src="__SaleManager__/images/back_icon.png" alt="" style="width:30px;vertical-align: middle;"></a>
        <span class = "h_title">工作汇总</span>
        <a class = "h_add" href="javascript:void(0)">
            <form id="form">
            <select class="weui-select" name="year" onchange="getLists(this)">
            <volist name="years" id="y">
            	<option value="{$y}" <if condition="$year == $y">selected</if>>{$y}</option>
            </volist>
             	<!-- <option value="2017" <if condition="$year == 2017">selected</if>>2017</option>
                <option value="2016" <if condition="$year == 2016">selected</if>>2016</option>
                <option value="2015" <if condition="$year == 2015">selected</if>>2015</option>
                <option value="2014" <if condition="$year == 2014">selected</if>>2014</option> -->
            </select>
            </form>
        </a>
    </header>
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/clinicsum',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>目标诊所数量统计</p>
            </div>
            <div class="">
                <span class = "work_num">{$clinicSumNum}</span>
                <span>个</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/trueclinicsum',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>诊所数量</p>
            </div>
            <div class="">
                <span class = "work_num">{$clinicNum}</span>
                <span>个</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/doctornum',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>医生数量</p>
            </div>
            <div class="">
                <span class = "work_num">{$doctorNum}</span>
                <span>个</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/visitalltimes',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>拜访次数</p>
            </div>
            <div class="">
                <span class = "work_num">{$salmanVisitNum}</span>
                <span>次</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/applicatemeet',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>申请统计</p>
            </div>
            <div class="">
                <span class = "work_num">{$salemanApplyNum}</span>
                <span>次</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/salesumary',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>销售统计</p>
            </div>
            <div class="">
                <span class = "work_num">{$salemanOrderNum}</span>
                <span>元</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/orderlist',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>订货统计</p>
            </div>
            <div class="">
                <span class = "work_num">{$salemanPrice}</span>
                <span>元</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/quitsale',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>退货统计</p>
            </div>
            <div class="">
                <span class = "work_num">{$quitePrice}</span>
                <span>元</span>
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="{:U('/Home/WorkSummary/SaleSummary/salemap',array('sale_id'=>$sale_id,'year'=>$year))}">
            <div class="weui-cell__bd">
                <p>区域诊所分布地图</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
    </div>
</div>
 <script src = "__SaleManager__/js/index.js"></script>
 <script src = "__SaleManager__/js/androidback.js"></script>
<script>
    function getLists(obj)
    {
        var val = $(obj).val();
        $("#form").submit();
    }
</script>
</body>
</html>